package org.example.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.example.pojo.domain.Exhibition;

import java.util.Date;

@Data
public class ReservationVo {
    // 原 Reservation 字段
    private Integer reservationId;
    private Integer userId;
    private Integer exhibitionId;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date reservedTime;
    private String status;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createdAt;

    // 附加的 Exhibition 对象
    private Exhibition exhibition;
}
